package com.powernode.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 商品评论总览信息对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("商品评论总览信息对象")
public class ProdCommData {

    @ApiModelProperty("好评率")
    private BigDecimal goodLv = BigDecimal.ZERO;

    @ApiModelProperty("评论总数量")
    private Long allCount = 0L;

    @ApiModelProperty("好评数量")
    private Long goodCount = 0L;

    @ApiModelProperty("中评数量")
    private Long secondCount = 0L;

    @ApiModelProperty("差评数量")
    private Long badCount = 0L;

    @ApiModelProperty("有图评论数量")
    private Long picCount = 0L;
}
